package fourzerofour.liangjunwei.day01;

import java.util.Scanner;

public class Question12 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个你想要的的数：");
        int n = scanner.nextInt();
        int num = 78;
        while (n != num ){
            if (n < num ){
                System.out.println("本次输入数值过小");
            }
            else {
                System.out.println("本次输入数值过大");
            }
            System.out.println("请重新输入");
            n = scanner.nextInt();
        }
        System.out.println("恭喜你，睿智");
    }
}
